package design.pattern.装饰者模式;

/**
 * 具体构建
 */
public class ConcreteComponent implements Component {
    private String name;
    ConcreteComponent(String name){
        this.name = name;
    }

    @Override
    public void operation() {
        System.out.println("装扮的" + name);
    }
}
